package org.linlinjava.litemall.admin.vo.online_service;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/7 15:35
 */
public class OnlineServiceCityListVo {

    @NotNull(message = "服务id不能为空")
    private Integer serviceId;

    private String cityKeyWords;

    private ServiceCity serviceCity;

    @NotNull(message = "页码不能为空")
    @DecimalMin(value = "1",message = "页码不能小于1")
    private Integer page;

    @NotNull(message = "每页条数不能为空")
    @DecimalMin(value = "0",message = "每页条数不能小于0")
    private Integer limit;

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getCityKeyWords() {
        return cityKeyWords;
    }

    public void setCityKeyWords(String cityKeyWords) {
        this.cityKeyWords = cityKeyWords;
    }

    public ServiceCity getServiceCity() {
        return serviceCity;
    }

    public void setServiceCity(ServiceCity serviceCity) {
        this.serviceCity = serviceCity;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
